package leagueapp;

import java.io.Serializable;

/**
 *
 * @author a
 */
public class Player implements Serializable {

    public int id;
    public String name;
    public String surname;
    public int day;
    public int month;
    public int year;
    public String nationality;
    public String position;
    public int number;
    public String club;
    public static int clubId;
    public int height;
    public int weight;
    public int attRange;
    public int defRange;

    public Player(int aId, String aName, String aSurname, int aDay, int aMonth, int aYear, String aNationality, String aPosition, int aNumber,
            String aClub, int aClubId, int aHeight, int aWeight, int aAttRange, int aDefRange) {
        id = aId;
        name = aName;
        surname = aSurname;
        day = aDay;
        month = aMonth;
        year = aYear;
        nationality = aNationality;
        position = aPosition;
        number = aNumber;
        club = aClub;
        clubId = aClubId;
        height = aHeight;
        weight = aWeight;
        attRange = aAttRange;
        defRange = aDefRange;
    }
}
